extends "../yikaluosi-1/yikaluosi-1.gd"

func _extInit():
	._extInit()
	lv = 2
	addSkill("本回合友军彻底阵亡时，提高自身50点雷击", "义愤")
var p2 = 50
func _onCharaDel(cha):
	._onCharaDel(cha)
	if cha.team == team:
		var buff = hasBuff("b_akasita")
		if buff == null:
			addBuff(b_akasita.new(p2))
		elif team == 1:
			buff.att.mgiAtk += p2

class b_akasita:
	extends "../../../azurlane_ctrl/AzurBuff.gd"
	func _init(mgiAtk):
		attInit()
		id = "b_akasita"	
		att.mgiAtk = mgiAtk
		buffName = "义愤"
		dispel = 2
	